<?php
/* @var $this CmpNewsController */
/* @var $model CmpNews */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
  	'图片管理'=>array($this->pre_module_url.'/album/admin'),
 	'查看图片',
);
?>

<div class="form">


<div class="photo_upload bd_db ">
	<ul class="form_list form_list2">
		<li class="img">
			<?php echo CHtml::image(empty($model->photo->zat_url)?'/images/cert_img.jpg':$model->photo->zat_url,'',array('id'=>'img1','readonly'=>'readonly'))?>		
		</li>
		<li class="c_f"><span class="tit">所属分类：</span>
			<div class="cont f_l">
				<?php echo CHtml::dropDownList("zpc_id",$model->zpc_id,CmpCat::model()->getCmpCat('选择相册',3),array('class'=>'s_ipt w_120','readonly'=>'readonly'))?>
				<span id="Albums_zpc_idTip"></span>
			</div>
		</li>
		<li class="c_f"><span class="tit">图片标题：</span>
			<div class="cont f_l">
				<?php echo CHtml::textField('zal_title',$model->zal_title,array('class'=>'t_ipt w_300 text_title','maxlength'=>'30','readonly'=>'readonly'))?>
				<span id="Albums_zal_titleTip"></span>
			</div>
		</li>
		<li class="c_f"><span class="tit">图片描述：</span>
			<div class="cont f_l">
				</textarea><?php echo CHtml::textArea('zal_desc',$model->zal_desc,array('class'=>'t_area','readonly'=>'readonly'))?>
			</div>
		</li>
	</ul>
</div>
</div><!-- form -->

